-- GENERATED SPELL FOR [Cursed Paladin] --


function spell0_7071(pUnit, Event) --@Hammer of Justice,n/a--
pUnit:FullCastSpellOnTarget(13005,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7071', 6266, 1)
end

function Sorts_7071(pUnit, Event)
local choix_sorts_7071 = math.random(0, 0)
if choix_sorts_7071 == 0 then
pUnit:RegisterEvent('spell0_7071', 1, 1)
end
end

function mob7071_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7071', math.random(1500, 3000), 1)
end

function mob7071_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7071_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7071_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7071, 1, 'mob7071_Action')
RegisterUnitEvent(7071, 2, 'mob7071_Leave')
RegisterUnitEvent(7071, 3, 'mob7071_Kill')
RegisterUnitEvent(7071, 4, 'mob7071_Die')
